<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper
  <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
  <mapSources>
    <source type="WSDL">
      <schema location="../swCrearItemProducto.wsdl"/>
      <rootElement name="CREARITEMPRODUCTOMR" namespace="http://mincetur.gob.pe/SIC/producto/crearItemProducto"/>
    </source>
  </mapSources>
  <mapTargets>
    <target type="WSDL">
      <schema location="../swProducto.wsdl"/>
      <rootElement name="CREARITEMPRODUCTO_MR" namespace="http://mincetur.gob.pe/SIC/producto/productoMR"/>
    </target>
  </mapTargets>
  <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.6.0(build 111214.0600.1553) AT [WED APR 10 11:14:30 COT 2013]. -->
?>
<xsl:stylesheet version="1.0"
                xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
                xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
                xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:ns1="http://mincetur.gob.pe/SIC/producto/crearItemProducto"
                xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
                xmlns:ns0="http://mincetur.gob.pe/SIC/utilitarios/errorMR"
                xmlns:inp2="http://mincetur.gob.pe/SIC/producto/productoMR"
                xmlns:client="http://mincetur.gob.pe/SIC/producto/swProducto/swCrearItemProducto"
                xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ora="http://schemas.oracle.com/xpath/extension"
                xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
                xmlns:tns="http://mincetur.gob.pe/SIC/producto/swProducto"
                xmlns:inp1="http://mincetur.gob.pe/SIC/producto/productoMC"
                xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
                xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
                xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
                xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
                xmlns:med="http://schemas.oracle.com/mediator/xpath"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
                xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
                xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:bpmn="http://schemas.oracle.com/bpm/xpath"
                xmlns:ns2="http://mincetur.gob.pe/SIC/producto/crearProducto"
                xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
                exclude-result-prefixes="xsi xsl ns1 ns0 client plnk wsdl xsd inp2 tns inp1 ns2 xp20 bpws bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref bpmn ldap">
  <xsl:template match="/">
    <inp2:CREARITEMPRODUCTO_MR>
      <ns1:ERROR>
        <xsl:if test="/ns1:CREARITEMPRODUCTOMR/ns1:ERROR/@ID_ERROR">
          <xsl:attribute name="ID_ERROR">
            <xsl:value-of select="/ns1:CREARITEMPRODUCTOMR/ns1:ERROR/@ID_ERROR"/>
          </xsl:attribute>
        </xsl:if>
        <xsl:if test="/ns1:CREARITEMPRODUCTOMR/ns1:ERROR/@DES_ERROR">
          <xsl:attribute name="DES_ERROR">
            <xsl:value-of select="/ns1:CREARITEMPRODUCTOMR/ns1:ERROR/@DES_ERROR"/>
          </xsl:attribute>
        </xsl:if>
        <xsl:if test="/ns1:CREARITEMPRODUCTOMR/ns1:ERROR/@FEC_ERROR">
          <xsl:attribute name="FEC_ERROR">
            <xsl:value-of select="/ns1:CREARITEMPRODUCTOMR/ns1:ERROR/@FEC_ERROR"/>
          </xsl:attribute>
        </xsl:if>
        <xsl:value-of select="/ns1:CREARITEMPRODUCTOMR/ns1:ERROR"/>
      </ns1:ERROR>
      <ns1:ID_PRODITEM>
        <xsl:value-of select="/ns1:CREARITEMPRODUCTOMR/ns1:ID_PRODITEM"/>
      </ns1:ID_PRODITEM>
    </inp2:CREARITEMPRODUCTO_MR>
  </xsl:template>
</xsl:stylesheet>
